package org.example.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName t_room
 */
@TableName(value ="t_room")
@Data
public class Room implements Serializable {
    /**
     * 
     */
    @TableId(value = "rid", type = IdType.AUTO)
    private Integer rid;

    /**
     * 
     */
    @TableField(value = "rname")
    private String rname;

    /**
     * 
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 
     */
    @TableField(value = "status")
    private String status;

    /**
     * 
     */
    @TableField(value = "is_del")
    @TableLogic(value = "0",delval = "1")
    private Integer isDel;

    /**
     * 
     */
    @TableField(value = "tid")
    private Integer tid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}